﻿using System.ComponentModel;

namespace FrameWork.Core.Device
{
    /// <summary>
    /// 第三方扩展数据描述
    /// </summary>
    public class ExtendDataDescribe
    {
        /// <summary>
        /// 扩展数据类型
        /// </summary>
        public ExtendDataEnum ExtendType { get; set; }
        /// <summary>
        /// 列名(Code)
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string FieldDesc { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public double FieldValue { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
    }
    /// <summary>
    /// 扩展数据类型
    /// </summary>
    public enum ExtendDataEnum 
    {
        /// <summary>
        /// 基础数据
        /// </summary>
        [Description("基础数据")]
        BasicsData,
        /// <summary>
        /// MTS温度采集数据
        /// </summary>
        [Description("MTS温度采集")]
        MTS,
        /// <summary>
        /// 自定义信号数据
        /// </summary>
        [Description("自定义信号数据")]
        CustomSignal,
        /// <summary>
        /// CAN解析信号数据
        /// </summary>
        [Description("CAN解析信号数据")]
        CANSignal,
        /// <summary>
        /// 第三方设备数据
        /// </summary>
        [Description("第三方设备数据")]
        ThirdPartyDevice,
    }
}
